package com.eCommerce.server.corebackend.dao;

import java.util.List;
import java.util.Set;

import com.eCommerce.corecontract.criteria.LigneCommandeCriteria;
import com.eCommerce.corecontract.dto.LigneCommandeDTO;
import com.eCommerce.corecontract.exception.EcommercePersisenceException;

public interface ILigneCommandeDAO extends IDataAccessObject {
	Long insert(LigneCommandeDTO lignecommandeDTO)
			throws EcommercePersisenceException;

	void update(LigneCommandeDTO lignecommandeDTO)
			throws EcommercePersisenceException;

	void delete(LigneCommandeDTO lignecommandeDTO)
			throws EcommercePersisenceException;

	LigneCommandeDTO findOne(LigneCommandeDTO lignecommandeDTO)
			throws EcommercePersisenceException;

	List find(LigneCommandeCriteria lignecommandeCriteria)
			throws EcommercePersisenceException;

	List findAll() throws EcommercePersisenceException;
}
